using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace TyranntClient
{
   
    class GameLog
    {
        public System.Collections.Generic.List<string> eventList;
        static int numEvents = 15;
        public Vector2 position;
        public bool active = true;
        public Color color;

        public GameLog(Vector2 pos, Color col)
        {
            eventList = new System.Collections.Generic.List<string>();
            Vector2 position = pos;
            Color color = Color.Yellow;
        }

        public void NewLine(string message)
        {
            eventList.Add(message);
            if (eventList.Count > numEvents)
            {
                eventList.RemoveAt(0);
            }
        }
    }
}
